* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body{
    background: #f2f2f2;
}
.top {
    width: 100%;
    height: 2.2rem;
    line-height: 2.2rem;
    font-size: .85rem;
    padding: 0 1rem;
    display: flex;
    justify-content: space-between;
    color: #333;
    border-bottom: .05rem solid #e3e3e3;
    background-color: #fff;
    .t-picture {
        font-size: .8rem!important;
    }
}
.search {
    width: 100%;
    height: 2.5rem;
    padding: .5rem .625rem;
    background-color: #fff;
    font-size: .7rem;
    input {
        width: 100%;
        height: 100%;
        border-radius: 50px;
        background: #f5f5f5;
        border: none;
        outline:none;
        padding: .25rem 0 .25rem .7rem;
        &::placeholder{
            font-size: .7rem;
        }
    }

}
.hot-type{
    width: 100%;
    height: 2rem;
    line-height: 2rem;
    font-size: .6rem;
    list-style: none;
    color: #565656;
    display: flex;
    justify-content: space-between;
    text-align: center;
    background-color: #fff;
    margin-bottom: .15rem;
    li{
        width: 3.75rem;
        height: 1.95rem;
        &:nth-of-type(1){
            background:url('https://img61.ddimg.cn/upload_img/00705/yhj/01-5.31-ued.jpg')no-repeat;
            background-repeat: no-repeat;
            background-position: 50%;
            background-size: 100% 100%;
            color: #ffffff;
        }
        // &:not(:nth-of-type(1))::before{
        //     content: "";
        //     display: block;
        //     width: .05rem;
        //     height: 1.95rem;
        //     color: #565656;
        // }
    }
}
.N-session{
    width: 100%;
    height: 2rem;
    line-height: 2rem;
    font-size: .6rem;
    list-style: none;
    color: #565656;
    display: flex;
    justify-content: space-between;
    text-align: center;
    background-color: #fff;
    li{
        width: 3.75rem;
        height: 1.95rem;
        &:nth-of-type(1){
            background:url('https://img61.ddimg.cn/upload_img/00705/yhj/01-5.31-ued.jpg')no-repeat;
            background-repeat: no-repeat;
            background-position: 50%;
            background-size: 100% 100%;
            color: #ffffff;
        }
    }
}
.width-img{
    width: 100%;
    height: 2.6rem;
    img{
        width: 100%;
    }
}
.bottom {
    position: sticky;
    bottom: 0;
    width: 100%;
    height: 2.35rem;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #f2f2f2;
    z-index: 10;
    li {
        text-align: center;
        width: 3.75rem;
        height: 2.45rem;
        font-size: .5rem;
        padding: .4rem 0;
        .b-picture{
            font-size: 1.2rem !important;
        }
    }
}

// swiper自动轮播
.slider {
    width: 100%;
    height: 100%;
}
.slider .swiper-slide {
    position: relative;
    text-align: center;
    font-size: .9rem;
    background: #fff;

    /* Center slide text vertically */
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    -webkit-align-items: center;
    align-items: center;

}
.lunbo{
    width: 100%;
    height: 7.9rem;
}

//swiper长轮播
.nav {
    width: 100%;
    height: 8.25rem;
    background-color: #fff;
}
.nav .swiper-slide {

    /* Center slide text vertically */
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    -webkit-align-items: center;
    align-items: center;
}
.children-word{
    width: 5.25rem;
    height: 7.75rem;
    box-sizing: border-box;
    img{
        width: 5.1rem ;
        height: 5.1rem ;
        margin-top: .5rem;
    }
    .price-book{
        width: 5.1rem;
        height: 2.4rem;
        p{
            &:nth-of-type(1){
                width: 5.1rem;
                height: .75rem!important;
                font-size: .6rem;
                color: #393939;
                display: -webkit-box;
                -webkit-box-orient: vertical;
                -webkit-line-clamp: 1;
                overflow: hidden;
                height: .3rem;
                text-overflow: ellipsis;
            }
            &:nth-of-type(2){
                color: #ff463c;
                font-size: .55rem;
            }
            &:nth-of-type(3){
                padding: 0 0 0 .1rem;
                font-size: .4rem;
                color: #fff;
                background-color: #f2303c;
            }
        }
    }
}

.like{
    width: 100%;
    height: 2.5rem;
    background-color: #fff;
    padding: 0 1rem;
    .like-word{
        font-size: .7rem;
        text-align: center;
        width: 2.9rem;
        height: 2rem;
        line-height: 2rem;
        color: #e64436;
        border-bottom: #e64436 1px solid;
    }
}
.like-content{
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;

    .content-word{
        width: 9.3rem;
        height: 13.8rem;
        margin-top: .15rem;
        background-color: #fff;
        img{
            width: 9.25rem;
            height: 9.25rem;
        }
        p{
            &:nth-of-type(1){
                width: 9.25rem;
                height: 2.3rem;
                font-size: .65rem;
                display: -webkit-box;
                -webkit-box-orient: vertical;
                -webkit-line-clamp: 2;
                overflow: hidden;
                text-overflow: ellipsis;
                color: #232323;
                padding: .5rem .25rem 0;
            }
            &:nth-of-type(2){
                color: #e53430;
                font-size: .75rem;
            }
        }
    }
}
.look{
    width: 100%;
    height: 2.2rem;
    padding: .4rem 0;
    text-align: center;
    p{
        width: 5.9rem;
        height: 1.35rem;
        line-height: 1.35rem;
        margin: auto;
        font-size: .6rem;
        color: #898989;
        border: #898989 .05rem solid;
        border-radius: 2.5rem;
    }
}
.down{
    width: 100%;
    height: 1.9rem;
    text-align: center;
    border-top: #e3e3e3 1px solid;
    border-bottom: #e3e3e3 1px solid;
    background-color: #f8f8f8;
    padding: .4rem 0;
    display: flex;
    align-items: center;
    justify-content: center;
    img{
        width: .95rem;
        height: .4rem;
        margin-right: .1rem;
    }
    p{
        height: .9rem;
        line-height: .9rem;
        font-size: .7rem;
        color: #9ca8b6;
    }
}